<!-- Store the value of the field in a variable -->

<!-- Store the path to the text file in a variable -->

[File_Control]
	[Var: 'temp'=(File_ReadLine: (Var:'vl_file', EncodeNone), FileLineNumber=1)]
	[If: (File_CurrentError, ErrorCode) == '0']
<!-- Insert the field name into the Select tag -->
		<SELECT NAME="" SIZE="1">
			[Loop: (File_GetLineCount: (Var:'vl_file', EncodeNone))]
<!-- Store the value of the line in the text file in a variable -->

<!-- Insert the value of the line into the Option tag  --> 
<!-- Insert the Selected attribute by comparing the field value with the value of the line -->
				<OPTION VALUE="">

				</OPTION>
			[/Loop]
		</SELECT>
	[Else]
		File Error: [File_CurrentError, ErrorCode], [File_CurrentError]
	[/If]
[/File_Control]